public void Add (Assembly assembly)
{
if (assembly == null)
throw new ArgumentNullException ("assembly");
// this can be called many times but we only want to load them
// once since we need to share them across most activities
if (!Initialized) {
// TestLoader.Load always return a TestSuite so we can avoid casting many times
TestSuite ts = builder.Build(assembly, new Dictionary<string, object>());
AndroidRunner.AssemblyLevel.Add (ts);
Add (ts);
}
}