Skip to content

Commit

Permalink
*** updated target files in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAlbala committed Jun 3, 2014
1 parent 052fa90 commit 7056828
Show file tree
Hide file tree
Showing 172 changed files with 2,580 additions and 31 deletions.
15 changes: 15 additions & 0 deletions 001.Statements/Target/Program.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Program.h"
namespace Statements {
void Program::Main(String* args[]){
Expand Down
15 changes: 15 additions & 0 deletions 001.Statements/Target/Program.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include <System/Console.h>
Expand Down
16 changes: 15 additions & 1 deletion 001.Statements/Target/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Program.h"
using namespace System;
using namespace Statements;
Expand All @@ -8,7 +23,6 @@ int main(int argc, char *argv[])
String *args = new String[argc];
for(int i = 0; i < argc; i++)
args[i] = argv[i];

Program::Main(&args);
GC::Collect();
}
15 changes: 15 additions & 0 deletions 002.List/Target/MyList.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "MyList.h"
namespace List {
MyList::MyList(){
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/MyList.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include "Node.h"
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/Node.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Node.h"
namespace List {
Node::Node(){
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/Node.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include "Utils.h"
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/Program.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Program.h"
namespace List {
void Program::Main(String* args[]){
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/Program.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include "MyList.h"
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/Utils.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Utils.h"
namespace List {
Random* Utils::random = new Random();
Expand Down
15 changes: 15 additions & 0 deletions 002.List/Target/Utils.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include <System/Random.h>
Expand Down
16 changes: 15 additions & 1 deletion 002.List/Target/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Program.h"
using namespace System;
using namespace List;
Expand All @@ -8,7 +23,6 @@ int main(int argc, char *argv[])
String *args = new String[argc];
for(int i = 0; i < argc; i++)
args[i] = argv[i];

Program::Main(&args);
GC::Collect();
}
15 changes: 15 additions & 0 deletions 003.ForwardDeclaration/Target/ClassA.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "ClassA.h"
namespace ForwardDeclaration {
ClassA::ClassA(){
Expand Down
15 changes: 15 additions & 0 deletions 003.ForwardDeclaration/Target/ClassA.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include "ClassB.h"
Expand Down
15 changes: 15 additions & 0 deletions 003.ForwardDeclaration/Target/ClassB.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "ClassB.h"
namespace ForwardDeclaration {
ClassB::ClassB(ClassA* a){
Expand Down
15 changes: 15 additions & 0 deletions 003.ForwardDeclaration/Target/ClassB.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include "ClassA.h"
Expand Down
15 changes: 15 additions & 0 deletions 003.ForwardDeclaration/Target/Program.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Program.h"
namespace ForwardDeclaration {
void Program::Main(String* args[]){
Expand Down
15 changes: 15 additions & 0 deletions 003.ForwardDeclaration/Target/Program.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#pragma once
#include <System/System.h>
#include "ClassA.h"
Expand Down
16 changes: 15 additions & 1 deletion 003.ForwardDeclaration/Target/main.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
/***********************************************************************************
This code has been generated by AlterNative translator
Permission is hereby granted, free of charge, to any person obtaining a copy of this
code.
contact: alejandro.albala@upc.edu
web: http://alexalbala.github.io/Alter-Native/
github: https://github.com/AlexAlbala/Alter-Native
AlterNative @ 2014
***********************************************************************************/

#include "Program.h"
using namespace System;
using namespace ForwardDeclaration;
Expand All @@ -8,7 +23,6 @@ int main(int argc, char *argv[])
String *args = new String[argc];
for(int i = 0; i < argc; i++)
args[i] = argv[i];

Program::Main(&args);
GC::Collect();
}
Loading

0 comments on commit 7056828

Please sign in to comment.