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

Renamed LuaInterface -> NLua

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