mirror of https://github.com/apache/activemq.git
added back csharp m2 repo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@412454 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3324233455
commit
fbdc95e6a3
|
@ -10,6 +10,14 @@
|
||||||
<artifactId>activemq-dotnet</artifactId>
|
<artifactId>activemq-dotnet</artifactId>
|
||||||
<packaging>dotnet-library</packaging>
|
<packaging>dotnet-library</packaging>
|
||||||
|
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>maven-csharp</id>
|
||||||
|
<name>maven-csharp</name>
|
||||||
|
<url>http://maven-csharp.javaforge.com/repo</url>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
||||||
<outputDirectory>target/dotnet-assembly</outputDirectory>
|
<outputDirectory>target/dotnet-assembly</outputDirectory>
|
||||||
|
|
|
@ -22,6 +22,6 @@ using System.Runtime.InteropServices;
|
||||||
[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2006 Apache Software Foundation")]
|
[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2006 Apache Software Foundation")]
|
||||||
[assembly: AssemblyTrademarkAttribute("")]
|
[assembly: AssemblyTrademarkAttribute("")]
|
||||||
[assembly: AssemblyCultureAttribute("")]
|
[assembly: AssemblyCultureAttribute("")]
|
||||||
[assembly: AssemblyVersionAttribute("4.0.2266.0")]
|
[assembly: AssemblyVersionAttribute("4.0.2281.0")]
|
||||||
[assembly: AssemblyInformationalVersionAttribute("4.0")]
|
[assembly: AssemblyInformationalVersionAttribute("4.0")]
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,7 @@ using NUnit.Framework;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace ActiveMQ.OpenWire
|
namespace ActiveMQ.OpenWire {
|
||||||
{
|
|
||||||
[ TestFixture ]
|
[ TestFixture ]
|
||||||
public class BooleanStreamTest
|
public class BooleanStreamTest
|
||||||
{
|
{
|
||||||
|
@ -51,7 +50,8 @@ namespace ActiveMQ.OpenWire
|
||||||
[ Test ]
|
[ Test ]
|
||||||
public void TestBooleanMarshallingUsingAlternateTrueFalse()
|
public void TestBooleanMarshallingUsingAlternateTrueFalse()
|
||||||
{
|
{
|
||||||
DoTestBooleanStream(numberOfBytes, new GetBooleanValueDelegate(GetBooleanValueAlternateTrueFalse));
|
DoTestBooleanStream(
|
||||||
|
numberOfBytes, new GetBooleanValueDelegate(GetBooleanValueAlternateTrueFalse));
|
||||||
}
|
}
|
||||||
public bool GetBooleanValueAlternateTrueFalse(int index, int count)
|
public bool GetBooleanValueAlternateTrueFalse(int index, int count)
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,8 @@ namespace ActiveMQ.OpenWire
|
||||||
[ Test ]
|
[ Test ]
|
||||||
public void TestBooleanMarshallingUsingAlternateFalseTrue()
|
public void TestBooleanMarshallingUsingAlternateFalseTrue()
|
||||||
{
|
{
|
||||||
DoTestBooleanStream(numberOfBytes, new GetBooleanValueDelegate(GetBooleanValueAlternateFalseTrue));
|
DoTestBooleanStream(
|
||||||
|
numberOfBytes, new GetBooleanValueDelegate(GetBooleanValueAlternateFalseTrue));
|
||||||
}
|
}
|
||||||
public bool GetBooleanValueAlternateFalseTrue(int index, int count)
|
public bool GetBooleanValueAlternateFalseTrue(int index, int count)
|
||||||
{
|
{
|
||||||
|
@ -106,11 +107,13 @@ namespace ActiveMQ.OpenWire
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Assert.Fail("Failed to parse bool: " + i + " out of: " + count + " due to: " + e);
|
Assert.Fail(
|
||||||
|
"Failed to parse bool: " + i + " out of: " + count + " due to: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
int marker = dis.ReadInt32();
|
int marker = dis.ReadInt32();
|
||||||
Assert.AreEqual(endOfStreamMarker, marker, "did not match: "+endOfStreamMarker+" and "+marker);
|
Assert.AreEqual(
|
||||||
|
endOfStreamMarker, marker, "did not match: " + endOfStreamMarker + " and " + marker);
|
||||||
|
|
||||||
// lets try read and we should get an exception
|
// lets try read and we should get an exception
|
||||||
try
|
try
|
||||||
|
@ -122,7 +125,5 @@ namespace ActiveMQ.OpenWire
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -22,6 +22,6 @@ using System.Runtime.InteropServices;
|
||||||
[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2006 Apache Software Foundation")]
|
[assembly: AssemblyCopyrightAttribute("Copyright (C) 2005-2006 Apache Software Foundation")]
|
||||||
[assembly: AssemblyTrademarkAttribute("")]
|
[assembly: AssemblyTrademarkAttribute("")]
|
||||||
[assembly: AssemblyCultureAttribute("")]
|
[assembly: AssemblyCultureAttribute("")]
|
||||||
[assembly: AssemblyVersionAttribute("4.0.2266.0")]
|
[assembly: AssemblyVersionAttribute("4.0.2281.0")]
|
||||||
[assembly: AssemblyInformationalVersionAttribute("4.0")]
|
[assembly: AssemblyInformationalVersionAttribute("4.0")]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue