forked from VSoftTechnologies/Delphi-Mocks
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9099dc
commit 6a49b49
Showing
31 changed files
with
1,760 additions
and
1,724 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"metadata": { | ||
"id": "Delphi.Mocks", | ||
"version": "0.0.2", | ||
"description": "Simple mocking framework for Delphi XE2 or later.", | ||
"authors": "Vincent Parrett", | ||
"projectUrl": "https://github.com/VSoftTechnologies/Delphi-Mocks", | ||
"license": "Apache-2.0", | ||
"copyright": "Vincent Parrett and contributors", | ||
"tags": "mocking unittesting" | ||
}, | ||
"targetPlatforms": [ | ||
{ | ||
"compiler": "XE2", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "XE3", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "XE4", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "XE5", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "XE6", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "XE7", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "XE8", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "10.0", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "10.1", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "10.2", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "10.3", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
}, | ||
{ | ||
"compiler": "10.4", | ||
"platforms": "Win32, Win64", | ||
"template": "default" | ||
} | ||
], | ||
"templates": [ | ||
{ | ||
"name": "default", | ||
"source": [ | ||
{ | ||
"src": "Source\\*.pas", | ||
"dest": "src" | ||
}, | ||
{ | ||
"src": "Source\\*.inc", | ||
"dest": "src" | ||
} | ||
], | ||
"searchPaths": [ | ||
{ | ||
"path": "src" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
program Sample1; | ||
|
||
{$APPTYPE CONSOLE} | ||
|
||
{$R *.res} | ||
|
||
uses | ||
SysUtils, | ||
Sample1Main in 'Sample1Main.pas', | ||
Delphi.Mocks.Example.ProjectSaveCheckVisitor in 'Delphi.Mocks.Example.ProjectSaveCheckVisitor.pas', | ||
Delphi.Mocks.Examples.Factory in 'Delphi.Mocks.Examples.Factory.pas', | ||
Delphi.Mocks.Examples.Implement in 'Delphi.Mocks.Examples.Implement.pas', | ||
Delphi.Mocks.Examples.Interfaces in 'Delphi.Mocks.Examples.Interfaces.pas'; | ||
|
||
begin | ||
try | ||
TesTObjectMock; | ||
Writeln('--------------'); | ||
Test; | ||
ReadLn; | ||
except | ||
on E: Exception do | ||
begin | ||
Writeln(E.ClassName, ': ', E.Message); | ||
ReadLn; | ||
end; | ||
end; | ||
end. |
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
File renamed without changes.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.