This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#light | |
namespace NParser | |
open System | |
open Lexer | |
type NomosParser() = | |
static member Parse(stringToParse:string) = | |
let definitions = state { | |
do! addDefinition "String" "[a-zA-Z]+" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#light | |
namespace NParser | |
module Lexer = | |
open System | |
open System.Collections.Generic | |
open System.Text.RegularExpressions | |
open StateMonad | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#light | |
namespace NParser | |
module StateMonad = | |
type State<'s,'a> = State of ('s -> ('a *'s)) | |
let runState (State f) = f | |
type StateBuilder() = | |
member b.Return(x) = State (fun s -> (x,s)) | |
member b.Delay(f) = f() : State<'s,'a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
namespace NUnitDataDriven | |
{ | |
[TestFixture] | |
public class DataTests | |
{ | |
[Test, TestCaseSource("GetDataForTesting")] | |
public void age_should_be_over_18(Data data) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SIF Utiltiy | |
SIF Upload | |
SIF parsing | |
Authentication | |
Authentication User | |
Authentication User for posting | |
Authentication Customer # for the user setup | |
Authentication Customer # from the file | |
XML Processing | |
XML translation/Parsing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reservaExistente = new ReservaBuilder() | |
.ComProduto(produtoReservado, 1) | |
.ParaCliente(null) | |
.ComOrigem(OrigemVenda.Parceiro) | |
.VigentePor(3) | |
.Build(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[TestClass] | |
public class dado_uma_nova_reserva_com_produtos_em_estoque | |
{ | |
[TestInitialize] | |
public void quando() | |
{ | |
tenho_produtos_em_estoque(); | |
e_tenho_produto_selecionado(); | |
e_tenho_cliente(); | |
e_tenho_origem(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="XXXXXX - HOMOLOG01"> | |
<webURL>http://xxxxx/xxxxxxx/1.0/</webURL> | |
<modificationDelaySeconds>10</modificationDelaySeconds> | |
<sourcecontrol type="vsts" autoGetSource="true" applyLabel="true"> | |
<server>https://xxxxxxx:8443/</server> | |
<username>xxxxxxx</username> | |
<password>xxxxx</password> | |
<domain>xxxxxx</domain> | |
<project>$/xxxx.xxxxx/Trunk</project> | |
<workingDirectory>C:\Arquivos de programas\CCNET\SourceCodeCheckout</workingDirectory> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Project DefaultTargets="Run" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | |
<!-- ### Import non-default tasks do be used in this build file ### --> | |
<!--SDC Tasks Library - Open Source pack from: http://sdctasks.codeplex.com/--> | |
<Import Project="Microsoft.Sdc.Common.tasks"/> | |
<!-- FTP Task - Open Source task from: http://www.digizzle.com/Projects/FtpTask/Docs.aspx#ftptask --> | |
<UsingTask AssemblyFile="FtpTask.dll" TaskName="FtpTask"/> | |
<!-- ### 0 - This is the entry point of this build file. Run all tasks in the correct order ### --> | |
<Target Name="Run"> | |
<CallTarget Targets="Clean" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VENDO | |
MacBook Pro 13" | |
Processador Core 2 Duo 2.26GHz | |
Memória 4 GB 1067 MHz DDR3 | |
VGA NVidia GeForce 9400M | |
Resolução Máxima 1280 x 800 | |
HD 320 GB | |
Acompanha: |