Commit be9f0df6 authored by Vinicius Jarina's avatar Vinicius Jarina
Browse files

Renamed LuaInterface -> NLua

parent 2e203153
...@@ -5,7 +5,7 @@ using System.Linq; ...@@ -5,7 +5,7 @@ using System.Linq;
using MonoTouch.Foundation; using MonoTouch.Foundation;
using MonoTouch.UIKit; using MonoTouch.UIKit;
namespace LuaInterfaceTestsiOS namespace NLuaTestsiOS
{ {
public class Application public class Application
{ {
......
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
<ProjectGuid>{2DC0E43A-21B8-41FF-8793-60AB50350977}</ProjectGuid> <ProjectGuid>{2DC0E43A-21B8-41FF-8793-60AB50350977}</ProjectGuid>
<ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<RootNamespace>LuaInterfaceTest</RootNamespace> <RootNamespace>NLuaTest</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>LuaInterfaceTest</AssemblyName> <AssemblyName>NLuaTest</AssemblyName>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
<DebugSymbols>True</DebugSymbols> <DebugSymbols>True</DebugSymbols>
...@@ -126,9 +126,9 @@ ...@@ -126,9 +126,9 @@
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\..\Core\LuaInterface\LuaInterface.IOS.csproj"> <ProjectReference Include="..\..\Core\NLua\NLua.IOS.csproj">
<Project>{7064B157-DD57-4828-94C5-CA149B25CB40}</Project> <Project>{7064B157-DD57-4828-94C5-CA149B25CB40}</Project>
<Name>LuaInterface.IOS</Name> <Name>NLua.IOS</Name>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
......
...@@ -6,7 +6,7 @@ using MonoTouch.Foundation; ...@@ -6,7 +6,7 @@ using MonoTouch.Foundation;
using MonoTouch.UIKit; using MonoTouch.UIKit;
using MonoTouch.NUnit.UI; using MonoTouch.NUnit.UI;
namespace LuaInterfaceTestsiOS namespace NLuaTestsiOS
{ {
// The UIApplicationDelegate for the application. This class is responsible for launching the // The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to // User Interface of the application, as well as listening (and optionally responding) to
......
...@@ -10,7 +10,7 @@ cd Core/KeraLua/ ...@@ -10,7 +10,7 @@ cd Core/KeraLua/
make -f Makefile.Linux make -f Makefile.Linux
xbuild KeraLua.sln /p:Configuration=Release xbuild KeraLua.sln /p:Configuration=Release
cd ../../ cd ../../
xbuild LuaInterface.sln /p:Configuration=Release xbuild NLua.sln /p:Configuration=Release
export LD_LIBRARY_PATH=$PWD/Core/KeraLua/external/lua/linux/lib64 export LD_LIBRARY_PATH=$PWD/Core/KeraLua/external/lua/linux/lib64
cd tests/ cd tests/
nunit-console LuaInterfaceTest.dll nunit-console NLuaTest.dll
...@@ -4,6 +4,6 @@ make -f Makefile.OSX ...@@ -4,6 +4,6 @@ make -f Makefile.OSX
xbuild KeraLua.sln /p:Configuration=Release xbuild KeraLua.sln /p:Configuration=Release
cd ../../ cd ../../
cp Core/KeraLua/external/lua/osx/lib/liblua51.dylib tests/liblua51.dylib cp Core/KeraLua/external/lua/osx/lib/liblua51.dylib tests/liblua51.dylib
xbuild LuaInterface.sln /p:Configuration=Release xbuild NLua.sln /p:Configuration=Release
cd tests/ cd tests/
nunit-console LuaInterfaceTest.dll -xml=$1 nunit-console NLuaTest.dll -xml=$1
cd Core/KeraLua cd Core\KeraLua
Makefile.Win32.bat Makefile.Win32.bat
msbuild KeraLua.sln /p:Configuration=Release msbuild KeraLua.sln /p:Configuration=Release
cd ..\..
xcopy Core\KeraLua\external\lua\win32\bin\*.dll tests\*.dll xcopy Core\KeraLua\external\lua\win32\bin\*.dll tests\*.dll
msbuild LuaInterface.sln /p:Configuration=Release msbuild NLua.sln /p:Configuration=Release
cd tests/ cd tests/
nunit-console LuaInterfaceTest.dll -xml=$1 nunit-console NLuaTest.dll /xml=$1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
namespace LuaInterfaceTest.Mock namespace NLuaTest.Mock
{ {
public class Entity public class Entity
{ {
......
This diff is collapsed.
//note: this should be cleaned up and replaced with moq mocks where possible //note: this should be cleaned up and replaced with moq mocks where possible
namespace LuaInterfaceTest.Mock namespace NLuaTest.Mock
{ {
using System; using System;
using LuaInterface; using NLua;
using System.Threading; using System.Threading;
using System.Diagnostics; using System.Diagnostics;
using System.Reflection; using System.Reflection;
...@@ -27,7 +27,7 @@ namespace LuaInterfaceTest.Mock ...@@ -27,7 +27,7 @@ namespace LuaInterfaceTest.Mock
/* Delegate Lua-handlers */ /* Delegate Lua-handlers */
class LuaTestDelegate1Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate1Handler : NLua.Method.LuaDelegate
{ {
int CallFunction (int a, int b) int CallFunction (int a, int b)
{ {
...@@ -41,7 +41,7 @@ namespace LuaInterfaceTest.Mock ...@@ -41,7 +41,7 @@ namespace LuaInterfaceTest.Mock
} }
} }
class LuaTestDelegate2Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate2Handler : NLua.Method.LuaDelegate
{ {
int CallFunction (int a, out int b) int CallFunction (int a, out int b)
{ {
...@@ -56,7 +56,7 @@ namespace LuaInterfaceTest.Mock ...@@ -56,7 +56,7 @@ namespace LuaInterfaceTest.Mock
} }
} }
class LuaTestDelegate3Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate3Handler : NLua.Method.LuaDelegate
{ {
void CallFunction (int a, ref int b) void CallFunction (int a, ref int b)
{ {
...@@ -70,7 +70,7 @@ namespace LuaInterfaceTest.Mock ...@@ -70,7 +70,7 @@ namespace LuaInterfaceTest.Mock
} }
} }
class LuaTestDelegate4Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate4Handler : NLua.Method.LuaDelegate
{ {
TestClass CallFunction (int a, int b) TestClass CallFunction (int a, int b)
{ {
...@@ -84,7 +84,7 @@ namespace LuaInterfaceTest.Mock ...@@ -84,7 +84,7 @@ namespace LuaInterfaceTest.Mock
} }
} }
class LuaTestDelegate5Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate5Handler : NLua.Method.LuaDelegate
{ {
int CallFunction (TestClass a, TestClass b) int CallFunction (TestClass a, TestClass b)
{ {
...@@ -98,7 +98,7 @@ namespace LuaInterfaceTest.Mock ...@@ -98,7 +98,7 @@ namespace LuaInterfaceTest.Mock
} }
} }
class LuaTestDelegate6Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate6Handler : NLua.Method.LuaDelegate
{ {
int CallFunction (int a, ref TestClass b) int CallFunction (int a, ref TestClass b)
{ {
...@@ -113,7 +113,7 @@ namespace LuaInterfaceTest.Mock ...@@ -113,7 +113,7 @@ namespace LuaInterfaceTest.Mock
} }
} }
class LuaTestDelegate7Handler : LuaInterface.Method.LuaDelegate class LuaTestDelegate7Handler : NLua.Method.LuaDelegate
{ {
void CallFunction (int a, ref TestClass b) void CallFunction (int a, ref TestClass b)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment