-
-
Notifications
You must be signed in to change notification settings - Fork 15.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add verify module for OSGI bundles #1010
Changes from all commits
f9daa91
64f3455
ff67530
e2fca98
124044e
dee212f
8365d27
2d9ce1f
355fd36
5f9c51f
432ad68
1de06ce
0b3b2de
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ | |
* under the License. | ||
*/ | ||
|
||
package io.netty.channel.udt.bench; | ||
package io.netty.test.udt.bench; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
|
||
import io.netty.channel.udt.util.CaliperBench; | ||
import io.netty.channel.udt.util.CaliperRunner; | ||
import io.netty.channel.udt.util.TrafficControl; | ||
import io.netty.test.udt.util.CaliperBench; | ||
import io.netty.test.udt.util.CaliperRunner; | ||
import io.netty.test.udt.util.TrafficControl; | ||
|
||
import java.util.List; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ | |
/** | ||
* UDT Benchmarks | ||
*/ | ||
package io.netty.channel.udt.bench; | ||
package io.netty.test.udt.bench; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ | |
* under the License. | ||
*/ | ||
|
||
package io.netty.channel.udt.bench.xfer; | ||
package io.netty.test.udt.bench.xfer; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
|
||
import io.netty.channel.udt.bench.BenchXfer; | ||
import io.netty.channel.udt.util.CaliperRunner; | ||
import io.netty.channel.udt.util.TrafficControl; | ||
import io.netty.test.udt.bench.BenchXfer; | ||
import io.netty.test.udt.util.CaliperRunner; | ||
import io.netty.test.udt.util.TrafficControl; | ||
|
||
import java.util.List; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,15 +14,16 @@ | |
* under the License. | ||
*/ | ||
|
||
package io.netty.channel.udt.bench.xfer; | ||
package io.netty.test.udt.bench.xfer; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
import com.barchart.udt.SocketUDT; | ||
import com.barchart.udt.StatusUDT; | ||
import com.barchart.udt.TypeUDT; | ||
import com.google.caliper.Param; | ||
import io.netty.channel.udt.bench.BenchXfer; | ||
import io.netty.channel.udt.util.CaliperRunner; | ||
import io.netty.channel.udt.util.TrafficControl; | ||
|
||
import io.netty.test.udt.bench.BenchXfer; | ||
import io.netty.test.udt.util.CaliperRunner; | ||
import io.netty.test.udt.util.TrafficControl; | ||
|
||
import java.net.InetSocketAddress; | ||
import java.nio.ByteBuffer; | ||
|
@@ -32,7 +33,7 @@ | |
import java.util.concurrent.Executors; | ||
import java.util.concurrent.atomic.AtomicBoolean; | ||
|
||
import static io.netty.channel.udt.util.UnitHelp.*; | ||
import static io.netty.test.udt.util.UnitHelp.*; | ||
|
||
/** | ||
* perform two way native UDT socket send/recv | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,19 +14,20 @@ | |
* under the License. | ||
*/ | ||
|
||
package io.netty.channel.udt.bench.xfer; | ||
package io.netty.test.udt.bench.xfer; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
import com.yammer.metrics.Metrics; | ||
import com.yammer.metrics.core.Counter; | ||
import com.yammer.metrics.core.Meter; | ||
import io.netty.bootstrap.Bootstrap; | ||
import io.netty.channel.ChannelFuture; | ||
import io.netty.channel.ChannelHandler; | ||
import io.netty.channel.udt.util.BootHelp; | ||
import io.netty.channel.udt.util.CustomReporter; | ||
import io.netty.channel.udt.util.EchoMessageHandler; | ||
import io.netty.channel.udt.util.TrafficControl; | ||
import io.netty.channel.udt.util.UnitHelp; | ||
import io.netty.test.udt.util.BootHelp; | ||
import io.netty.test.udt.util.CustomReporter; | ||
import io.netty.test.udt.util.EchoMessageHandler; | ||
import io.netty.test.udt.util.TrafficControl; | ||
import io.netty.test.udt.util.UnitHelp; | ||
|
||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,5 @@ | |
/** | ||
* UDT Transfer Speed Benchmarks | ||
*/ | ||
package io.netty.channel.udt.bench.xfer; | ||
package io.netty.test.udt.bench.xfer; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* under the License. | ||
*/ | ||
|
||
package io.netty.channel.udt.nio; | ||
package io.netty.test.udt.nio; | ||
|
||
import static org.junit.Assume.*; | ||
import io.netty.channel.udt.util.UnitHelp; | ||
import io.netty.test.udt.util.UnitHelp; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
|
||
import org.junit.BeforeClass; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,9 +14,11 @@ | |
* under the License. | ||
*/ | ||
|
||
package io.netty.channel.udt.nio; | ||
package io.netty.test.udt.nio; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this moved by mistake ? |
||
import io.netty.buffer.BufType; | ||
import io.netty.channel.udt.nio.NioUdtByteAcceptorChannel; | ||
|
||
import org.junit.Test; | ||
import org.slf4j.Logger; | ||
import org.slf4j.LoggerFactory; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't we do this in the parent pom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what you mean by "this"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I asked if the plugin config should not better be put in the parent pom.xml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is specific for:
which seems should be very narrow, one-bundle-only exception.
I presume that was the intent of
to centralize jvm vendor-specific stuff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also use unsafe in buffer if it can be found
Sent from my iPhone. Excuse any typos....
Am 03.02.2013 um 18:32 schrieb Andrei Pozolotin notifications@github.com:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can not see any import which looks like "sun" in netty-buffer. what did you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right,my bad...