Skip to content
Merged

Tests #374

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cake/ApaxTraversal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private static void CreateDependenciesFile(List<ApaxFileInfo> dependencies, stri
}

var yamlContent = serializer.Serialize(new { name = "apax.traversal",
version = "0.0.0",
version = "0.1.0",
type = "app",
targets = new string[] {"plcsim", "llvm"},
devDependencies = new Dictionary<string, string>() { {"@ix-ax/ax-sdk", dependencies.First(p => p.Name == "@ix-ax/ax-sdk").Version} },
Expand Down
14 changes: 14 additions & 0 deletions src/abstractions/ctrl/test/test.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
USING AxUnit;

NAMESPACE AXOpen.Abstractions.Tests

{TestFixture}
{S7.extern=ReadWrite}
CLASS MyTestFixture
{Test}
METHOD PUBLIC MyTestMethod
Assert.Equal(actual := TRUE, expected := TRUE);
END_METHOD
END_CLASS

END_NAMESPACE
2 changes: 1 addition & 1 deletion src/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ type: workspace
devDependencies:
"@ix-ax/ax-sdk": '0.1.0'
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
14 changes: 14 additions & 0 deletions src/components.abstractions/ctrl/test/test.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
USING AxUnit;

NAMESPACE AXOpen.Components.Abstractions.Tests

{TestFixture}
{S7.extern=ReadWrite}
CLASS MyTestFixture
{Test}
METHOD PUBLIC MyTestMethod
Assert.Equal(actual := TRUE, expected := TRUE);
END_METHOD
END_CLASS

END_NAMESPACE
2 changes: 1 addition & 1 deletion src/components.kuka.robotics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ scripts:
dd:
- apax delta
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
2 changes: 1 addition & 1 deletion src/components.kuka.robotics/ctrl/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ dependencies:
publicKeys:
"@ix-ax": 30c06ef7830b4dfd8f16e003508da1ac2d187714d0e1f38279a9332cbe4e4e17
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
16 changes: 8 additions & 8 deletions src/components.mitsubishi.robotics/app/apax.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "app_axopen.components.mitsubishi.robotics"
version : '0.1.0'
version: '0.1.0'
type: app
targets:
- plcsim
Expand All @@ -9,14 +9,14 @@ variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
"@ax/sld": 2.0.5
dependencies:
"@ix-ax/axopen.core" : '0.1.0'
"@ix-ax/axopen.timers" : '0.1.0'
"@ix-ax/axopen.abstractions" : '0.1.0'
"@ix-ax/axopen.components.mitsubishi.robotics" : '0.1.0'
"@ix-ax/axopen.simatic1500" : '0.1.0'
"@ix-ax/axopen.core": '0.1.0'
"@ix-ax/axopen.timers": '0.1.0'
"@ix-ax/axopen.abstractions": '0.1.0'
"@ix-ax/axopen.components.mitsubishi.robotics": '0.1.0'
"@ix-ax/axopen.simatic1500": '0.1.0'
"@ax/simatic-1500-clocks": ^6.0.37
scripts:
delta:
Expand Down Expand Up @@ -87,4 +87,4 @@ scripts:
dd:
- apax delta
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
6 changes: 3 additions & 3 deletions src/components.mitsubishi.robotics/ctrl/apax.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "@ix-ax/axopen.components.mitsubishi.robotics"
version : '0.1.0'
version: '0.1.0'
type: lib
targets:
- llvm
files:
- src
- axsharp.companion.json
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
scripts:
postbuild:
- dotnet ixc
Expand All @@ -22,4 +22,4 @@ dependencies:
publicKeys:
"@ix-ax": 30c06ef7830b4dfd8f16e003508da1ac2d187714d0e1f38279a9332cbe4e4e17
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
10 changes: 5 additions & 5 deletions src/components.pneumatics/app/apax.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: "pneumaticcomponents"
version : '0.1.0'
version: '0.1.0'
type: app
targets:
- llvm
- plcsim
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
dependencies:
"@ix-ax/axopen.components.pneumatics" : '0.1.0'
"@ix-ax/axopen.simatic1500" : '0.1.0'
"@ix-ax/axopen.components.pneumatics": '0.1.0'
"@ix-ax/axopen.simatic1500": '0.1.0'
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down Expand Up @@ -60,4 +60,4 @@ scripts:
- echo $(date +%D)"-"$(date +%H)":"$(date +%M)":"$(date +%S) " - Finished in
:" $(expr $(date +%s) - $START) "s"
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
2 changes: 1 addition & 1 deletion src/components.pneumatics/ctrl/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ scripts:
publicKeys:
"@ix-ax": 30c06ef7830b4dfd8f16e003508da1ac2d187714d0e1f38279a9332cbe4e4e17
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
10 changes: 5 additions & 5 deletions src/components.rexroth.drives/app/apax.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "app_axopen.components.rexroth.drives"
version : '0.1.0'
version: '0.1.0'
type: app
targets:
- plcsim
Expand All @@ -9,10 +9,10 @@ variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
dependencies:
"@ix-ax/axopen.simatic1500" : '0.1.0'
"@ix-ax/axopen.components.rexroth.drives" : '0.1.0'
"@ix-ax/axopen.simatic1500": '0.1.0'
"@ix-ax/axopen.components.rexroth.drives": '0.1.0'
"@ax/system-timer": ^6.0.94
scripts:
delta:
Expand Down Expand Up @@ -83,4 +83,4 @@ scripts:
dd:
- apax delta
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
12 changes: 6 additions & 6 deletions src/components.rexroth.drives/ctrl/apax.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "@ix-ax/axopen.components.rexroth.drives"
version : '0.1.0'
version: '0.1.0'
type: lib
targets:
- llvm
files:
- src
- assets
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
scripts:
download:
- apax install
Expand Down Expand Up @@ -65,12 +65,12 @@ scripts:
- apax plc-mode set stop -t $AXTARGET -y
- apax plc-mode set run -t $AXTARGET -y
dependencies:
"@ix-ax/axopen.components.abstractions" : '0.1.0'
"@ix-ax/axopen.components.drives" : '0.1.0'
"@ix-ax/axopen.io" : '0.1.0'
"@ix-ax/axopen.components.abstractions": '0.1.0'
"@ix-ax/axopen.components.drives": '0.1.0'
"@ix-ax/axopen.io": '0.1.0'
"@ax/system-bitaccess": ^6.0.94
"@ax/system-math": ^6.0.94
"@ax/system-strings": ^6.0.94
"@ax/simatic-1500-distributedio": ^6.0.3
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
2 changes: 1 addition & 1 deletion src/components.rexroth.press/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ scripts:
dd:
- apax delta
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
2 changes: 1 addition & 1 deletion src/components.rexroth.press/ctrl/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ dependencies:
publicKeys:
"@ix-ax": 30c06ef7830b4dfd8f16e003508da1ac2d187714d0e1f38279a9332cbe4e4e17
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
16 changes: 8 additions & 8 deletions src/components.robotics/app/apax.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "app_axopen.components.robotics"
version : '0.1.0'
version: '0.1.0'
type: app
targets:
- plcsim
Expand All @@ -8,14 +8,14 @@ variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
"@ax/sld": 2.0.5
dependencies:
"@ix-ax/axopen.core" : '0.1.0'
"@ix-ax/axopen.timers" : '0.1.0'
"@ix-ax/axopen.abstractions" : '0.1.0'
"@ix-ax/axopen.components.robotics" : '0.1.0'
"@ix-ax/axopen.simatic1500" : '0.1.0'
"@ix-ax/axopen.core": '0.1.0'
"@ix-ax/axopen.timers": '0.1.0'
"@ix-ax/axopen.abstractions": '0.1.0'
"@ix-ax/axopen.components.robotics": '0.1.0'
"@ix-ax/axopen.simatic1500": '0.1.0'
"@ax/simatic-1500-clocks": ^6.0.37
scripts:
download:
Expand All @@ -25,4 +25,4 @@ scripts:
- apax sld load --accept-security-disclaimer -t $AXTARGET -i
$AXTARGETPLATFORMINPUT -r
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
14 changes: 7 additions & 7 deletions src/components.robotics/ctrl/apax.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
name: "@ix-ax/axopen.components.robotics"
version : '0.1.0'
version: '0.1.0'
type: lib
targets:
- llvm
files:
- src
- axsharp.companion.json
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
scripts:
postbuild:
- dotnet ixc
dependencies:
"@ix-ax/axopen.components.abstractions" : '0.1.0'
"@ix-ax/axopen.core" : '0.1.0'
"@ix-ax/axopen.timers" : '0.1.0'
"@ix-ax/axopen.abstractions" : '0.1.0'
"@ix-ax/axopen.components.abstractions": '0.1.0'
"@ix-ax/axopen.core": '0.1.0'
"@ix-ax/axopen.timers": '0.1.0'
"@ix-ax/axopen.abstractions": '0.1.0'
"@ax/system-math": ^6.0.94
publicKeys:
"@ix-ax": 30c06ef7830b4dfd8f16e003508da1ac2d187714d0e1f38279a9332cbe4e4e17
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
16 changes: 8 additions & 8 deletions src/components.ur.robotics/app/apax.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "app_axopen.components.ur.robotics"
version : '0.1.0'
version: '0.1.0'
type: app
targets:
- plcsim
Expand All @@ -9,14 +9,14 @@ variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
"@ax/sld": 2.0.5
dependencies:
"@ix-ax/axopen.core" : '0.1.0'
"@ix-ax/axopen.timers" : '0.1.0'
"@ix-ax/axopen.abstractions" : '0.1.0'
"@ix-ax/axopen.components.ur.robotics" : '0.1.0'
"@ix-ax/axopen.simatic1500" : '0.1.0'
"@ix-ax/axopen.core": '0.1.0'
"@ix-ax/axopen.timers": '0.1.0'
"@ix-ax/axopen.abstractions": '0.1.0'
"@ix-ax/axopen.components.ur.robotics": '0.1.0'
"@ix-ax/axopen.simatic1500": '0.1.0'
"@ax/simatic-1500-clocks": ^6.0.37
scripts:
delta:
Expand Down Expand Up @@ -87,4 +87,4 @@ scripts:
dd:
- apax delta
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
6 changes: 3 additions & 3 deletions src/components.ur.robotics/ctrl/apax.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: "@ix-ax/axopen.components.ur.robotics"
version : '0.1.0'
version: '0.1.0'
type: lib
targets:
- llvm
files:
- src
- axsharp.companion.json
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
scripts:
postbuild:
- dotnet ixc
Expand All @@ -22,4 +22,4 @@ dependencies:
publicKeys:
"@ix-ax": 30c06ef7830b4dfd8f16e003508da1ac2d187714d0e1f38279a9332cbe4e4e17
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
2 changes: 1 addition & 1 deletion src/core/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ scripts:
dd:
- apax delta
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
25 changes: 12 additions & 13 deletions src/data/app/apax.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
name: "axopen.data-app"
version : '0.1.0'
version: '0.1.0'
type: app
targets:
- plcsim
- llvm
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
APAX_BUILD_ARGS: [-d]
devDependencies:
"@ix-ax/ax-sdk" : '0.1.0'
"@ix-ax/ax-sdk": '0.1.0'
dependencies:
"@ix-ax/axopen.simatic1500" : '0.1.0'
"@ix-ax/axopen.data" : '0.1.0'
"@ix-ax/axopen.data": '0.1.0'
"@ix-ax/axopen.simatic1500": '0.1.0'
scripts:
download:
- apax install
- apax build
- dotnet ixc
- apax sld load --accept-security-disclaimer -t $AXTARGET -i
$AXTARGETPLATFORMINPUT -r
download: |
apax install
apax build
dotnet ixc
apax sld load --accept-security-disclaimer -t $AXTARGET -i $AXTARGETPLATFORMINPUT -r
installStrategy: strict
apaxVersion: 3.1.0
apaxVersion: 3.1.1
Loading