Package ubic.gemma.core.util.test
Class BaseSpringContextTest
- java.lang.Object
- 
- org.springframework.test.context.junit4.AbstractJUnit4SpringContextTests
- 
- ubic.gemma.core.util.test.BaseTest
- 
- ubic.gemma.core.util.test.BaseIntegrationTest
- 
- ubic.gemma.core.util.test.BaseSpringContextTest
 
 
 
 
- 
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware,- org.springframework.context.ApplicationContextAware
 - Direct Known Subclasses:
- AbstractArrayDesignProcessingTest,- AbstractGeoServiceTest,- AclAdviceTest,- AclAuthorizationTest,- AclCollectionBeforeTest,- AclCriteriaUtilsTest,- AclQueryUtilsTest,- ArrayDesignMergeServiceTest,- ArrayDesignReportServiceTest,- ArrayDesignServiceTest,- AuditAdviceTest,- AuditEventServiceTest,- AuditTrailDaoTest,- AuditTrailServiceImplTest,- BaseSpringWebTest,- BibliographicReferenceServiceImplTest,- BibliographicReferenceServiceTest,- BioAssayServiceTest,- BioMaterialServiceTest,- BioSequencePersistTest,- BlacklistedEntityServiceTest,- BlacklistTest,- BlatAssociationServiceTest,- BlatResultServiceTest,- CharacteristicServiceTest,- CompositeSequenceServiceTest,- CuratableValueObjectTest,- DatabaseEntryDaoImplTest,- DifferentialExpressionAnalysisServiceTest,- ExecutingTaskTest,- ExperimentalDesignImportDuplicateValueTest,- ExperimentalDesignImporterTest,- ExpressionAnalysisResultSetServiceTest,- ExpressionExperimentDeleteTest,- ExpressionExperimentReportServiceTest,- ExpressionExperimentServiceIntegrationTest,- ExpressionExperimentSetServiceTest,- ExpressionExperimentSetValueObjectHelperTest,- ExpressionExperimentSubSetServiceTest,- ExternalDatabaseServiceTest,- ExternalFileGeneLoaderServiceTest,- FactorValueServiceIntegrationTest,- FilteringVoEnabledServiceIntegrationTest,- Gene2GeneCoexpressionServiceTest,- GeneDiffExMetaAnalysisServiceTest,- GeneMultifunctionalityPopulationServiceTest,- GeneSearchTest,- GeneServiceTest,- GeneSetServiceTest,- GeneSetValueObjectHelperTest,- GenomePersisterTest,- GeoBrowserServiceTest,- GeoConverterTest,- LinkAnalysisServiceTest,- ManualAuthenticationProcessingTest,- NCBIGene2GOAssociationParserTest,- NCBIGeneLoadingTest,- PersisterTest,- PrincipalTest,- RetryTest,- SampleCoexpressionAnalysisServiceTest,- SearchServiceIntegrationTest,- SecureValueObjectAuthorizationTest,- SecurityServiceTest,- SimpleExpressionDataLoaderServiceTest,- SplitExperimentTest,- StrictBeanDefinitionValidatorTest,- TableMaintenanceUtilIntegrationTest,- TaxonLoaderTest,- TaxonServiceImplTest,- TaxonUtilsTest,- TwoChannelMissingValuesTest,- TwoWayAnovaWithInteractionTest2,- UserGroupServiceTest,- WhatsNewServiceTest
 
 @Deprecated public abstract class BaseSpringContextTest extends BaseIntegrationTest Deprecated.favour the simplerBaseIntegrationTestfor new testsAdd a few utilities on top ofBaseIntegrationTest.- Author:
- pavlidis
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected ubic.gemma.persistence.service.common.description.ExternalDatabaseServiceexternalDatabaseServiceDeprecated.protected org.apache.commons.logging.LoglogDeprecated.protected ubic.gemma.persistence.persister.PersisterHelperpersisterHelperDeprecated.org.mockito.junit.MockitoRuleruleDeprecated.This allows the usage ofMockannotation to create mocks.protected ubic.gemma.persistence.service.genome.taxon.TaxonServicetaxonServiceDeprecated.protected PersistentDummyObjectHelpertestHelperDeprecated.
 - 
Constructor SummaryConstructors Constructor Description BaseSpringContextTest()Deprecated.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Collection<ubic.gemma.model.analysis.Analysis>addTestAnalyses(ubic.gemma.model.expression.experiment.ExpressionExperiment ee)Deprecated.Create testAnalysisfor the given expression experiment.protected intcountRowsInTable(String tableName)Deprecated.Count the rows in the given table.protected intdeleteFromTables(String... names)Deprecated.Convenience method for deleting all rows from the specified tables.protected org.springframework.jdbc.core.JdbcTemplategetJdbcTemplate()Deprecated.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetNewTestPersistentCompleteExpressionExperiment()Deprecated.ubic.gemma.model.genome.TaxongetTaxon(String commonName)Deprecated.Obtain a taxon by its common name.protected ubic.gemma.model.genome.biosequence.BioSequencegetTestNonPersistentBioSequence(ubic.gemma.model.genome.Taxon t)Deprecated.protected ubic.gemma.model.expression.arrayDesign.ArrayDesigngetTestPersistentArrayDesign(int numCompositeSequences, boolean randomNames)Deprecated.Convenience method to provide an ArrayDesign that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.arrayDesign.ArrayDesigngetTestPersistentArrayDesign(int numCompositeSequences, boolean randomNames, boolean doSequence, boolean readOnly)Deprecated.Convenience method to provide an ArrayDesign that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.arrayDesign.ArrayDesigngetTestPersistentArrayDesign(List<String> probeNames, ubic.gemma.model.genome.Taxon taxon)Deprecated.Convenience method to provide an ArrayDesign that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentBasicExpressionExperiment()Deprecated.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentBasicExpressionExperiment(ubic.gemma.model.expression.arrayDesign.ArrayDesign arrayDesign)Deprecated.protected ubic.gemma.model.common.description.BibliographicReferencegetTestPersistentBibliographicReference(String accession)Deprecated.protected ubic.gemma.model.expression.bioAssay.BioAssaygetTestPersistentBioAssay(ubic.gemma.model.expression.arrayDesign.ArrayDesign ad)Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.bioAssay.BioAssaygetTestPersistentBioAssay(ubic.gemma.model.expression.arrayDesign.ArrayDesign ad, ubic.gemma.model.expression.biomaterial.BioMaterial bm)Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.biomaterial.BioMaterialgetTestPersistentBioMaterial()Deprecated.protected ubic.gemma.model.expression.biomaterial.BioMaterialgetTestPersistentBioMaterial(ubic.gemma.model.genome.Taxon tax)Deprecated.protected ubic.gemma.model.genome.biosequence.BioSequencegetTestPersistentBioSequence()Deprecated.protected ubic.gemma.model.genome.biosequence.BioSequencegetTestPersistentBioSequence(ubic.gemma.model.genome.Taxon t)Deprecated.Set<ubic.gemma.model.association.BioSequence2GeneProduct>getTestPersistentBioSequence2GeneProducts(ubic.gemma.model.genome.biosequence.BioSequence bioSequence)Deprecated.protected ubic.gemma.model.genome.sequenceAnalysis.BlatResultgetTestPersistentBlatResult(ubic.gemma.model.genome.biosequence.BioSequence querySequence)Deprecated.protected ubic.gemma.model.genome.sequenceAnalysis.BlatResultgetTestPersistentBlatResult(ubic.gemma.model.genome.biosequence.BioSequence querySequence, ubic.gemma.model.genome.Taxon taxon)Deprecated.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentCompleteExpressionExperiment(boolean readOnly)Deprecated.Convenience method to get a (fairly) complete randomly generated persisted expression experiment.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentCompleteExpressionExperimentWithSequences()Deprecated.Convenience method to get a (fairly) complete randomly generated persisted expression experiment.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentCompleteExpressionExperimentWithSequences(ubic.gemma.model.expression.experiment.ExpressionExperiment prototype)Deprecated.protected ubic.gemma.model.common.auditAndSecurity.ContactgetTestPersistentContact()Deprecated.Convenience method to provide a Contact that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.common.description.DatabaseEntrygetTestPersistentDatabaseEntry()Deprecated.Get a database entry from a fictitious database.protected ubic.gemma.model.common.description.DatabaseEntrygetTestPersistentDatabaseEntry(String ed)Deprecated.protected ubic.gemma.model.common.description.DatabaseEntrygetTestPersistentDatabaseEntry(String accession, String ed)Deprecated.protected ubic.gemma.model.common.description.DatabaseEntrygetTestPersistentDatabaseEntry(String accession, ubic.gemma.model.common.description.ExternalDatabase ed)Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.common.description.DatabaseEntrygetTestPersistentDatabaseEntry(ubic.gemma.model.common.description.ExternalDatabase ed)Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentExpressionExperiment()Deprecated.Convenience method to provide an ExpressionExperiment that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.expression.experiment.ExpressionExperimentgetTestPersistentExpressionExperiment(ubic.gemma.model.genome.Taxon taxon)Deprecated.Convenience method to provide an ExpressionExperiment that can be used to fill non-nullable associations in test objects.protected ubic.gemma.model.genome.GenegetTestPersistentGene()Deprecated.ubic.gemma.model.genome.GenegetTestPersistentGene(ubic.gemma.model.genome.Taxon taxon)Deprecated.protected ubic.gemma.model.genome.gene.GeneProductgetTestPersistentGeneProduct(ubic.gemma.model.genome.Gene gene)Deprecated.protected ubic.gemma.model.common.quantitationtype.QuantitationTypegetTestPersistentQuantitationType()Deprecated.Convenience method to provide a QuantitationType that can be used to fill non-nullable associations in test objects.StringrandomName()Deprecated.Convenience shortcut for RandomStringUtils.randomAlphabetic( 10 ) (or something similar to that)protected voidresetTestCollectionSize()Deprecated.Restore to default.protected voidrunAsAdmin()Deprecated.protected voidrunAsAgent()Deprecated.protected voidrunAsAnonymous()Deprecated.protected voidrunAsUser(String userName)Deprecated.protected voidrunAsUser(String userName, boolean createIfMissing)Deprecated.protected voidsetTestCollectionSize(int size)Deprecated.Change the number of elements created in collections (basically controls the size of test data sets).- 
Methods inherited from class ubic.gemma.core.util.test.BaseIntegrationTestsetUpAuthentication, tearDownSecurityContext
 
- 
 
- 
- 
- 
Field Detail- 
logprotected final org.apache.commons.logging.Log log Deprecated.
 - 
rulepublic org.mockito.junit.MockitoRule rule Deprecated.This allows the usage ofMockannotation to create mocks.
 - 
externalDatabaseService@Autowired protected ubic.gemma.persistence.service.common.description.ExternalDatabaseService externalDatabaseService Deprecated.
 - 
persisterHelper@Autowired protected ubic.gemma.persistence.persister.PersisterHelper persisterHelper Deprecated.
 - 
taxonService@Autowired protected ubic.gemma.persistence.service.genome.taxon.TaxonService taxonService Deprecated.
 - 
testHelper@Autowired protected PersistentDummyObjectHelper testHelper Deprecated.
 
- 
 - 
Method Detail- 
getJdbcTemplateprotected org.springframework.jdbc.core.JdbcTemplate getJdbcTemplate() Deprecated.
 - 
getTaxonpublic ubic.gemma.model.genome.Taxon getTaxon(String commonName) Deprecated.Obtain a taxon by its common name.See sql/init-data.sqlfor a list of available taxa to use in tests.
 - 
getTestPersistentGenepublic ubic.gemma.model.genome.Gene getTestPersistentGene(ubic.gemma.model.genome.Taxon taxon) Deprecated.
 - 
getTestPersistentBioSequence2GeneProductspublic Set<ubic.gemma.model.association.BioSequence2GeneProduct> getTestPersistentBioSequence2GeneProducts(ubic.gemma.model.genome.biosequence.BioSequence bioSequence) Deprecated.
 - 
randomNamepublic String randomName() Deprecated.Convenience shortcut for RandomStringUtils.randomAlphabetic( 10 ) (or something similar to that)- Returns:
- random alphabetic string
 
 - 
addTestAnalysesprotected Collection<ubic.gemma.model.analysis.Analysis> addTestAnalyses(ubic.gemma.model.expression.experiment.ExpressionExperiment ee) Deprecated.Create testAnalysisfor the given expression experiment.- Parameters:
- ee- expression experiment to use for creating test analyses
- Returns:
- a collection of persisted analyses that were created
 
 - 
countRowsInTableprotected int countRowsInTable(String tableName) Deprecated.Count the rows in the given table.- Parameters:
- tableName- table name to count rows in
- Returns:
- the number of rows in the table
 
 - 
deleteFromTablesprotected int deleteFromTables(String... names) Deprecated.Convenience method for deleting all rows from the specified tables. Use with caution outside of a transaction!- Parameters:
- names- the names of the tables from which to remove
- Returns:
- the total number of rows deleted from all specified tables
 
 - 
getTestPersistentGeneprotected ubic.gemma.model.genome.Gene getTestPersistentGene() Deprecated.
 - 
getTestPersistentArrayDesignprotected ubic.gemma.model.expression.arrayDesign.ArrayDesign getTestPersistentArrayDesign(int numCompositeSequences, boolean randomNames)Deprecated.Convenience method to provide an ArrayDesign that can be used to fill non-nullable associations in test objects. The ArrayDesign is provided with some CompositeSequence DesignElements if desired. If composite sequences are created, they are each associated with a single generated Reporter.- Parameters:
- numCompositeSequences- The number of CompositeSequences to populate the ArrayDesign with.
- randomNames- If true, probe names will be random strings; otherwise they will be 0_at....N_at
- Returns:
- array design
 
 - 
getTestPersistentArrayDesignprotected ubic.gemma.model.expression.arrayDesign.ArrayDesign getTestPersistentArrayDesign(int numCompositeSequences, boolean randomNames, boolean doSequence, boolean readOnly)Deprecated.Convenience method to provide an ArrayDesign that can be used to fill non-nullable associations in test objects. The ArrayDesign is provided with some CompositeSequence DesignElements if desired. If composite sequences are created, they are each associated with a single generated Reporter.- Parameters:
- numCompositeSequences- The number of CompositeSequences to populate the ArrayDesign with.
- randomNames- If true, probe names will be random strings; otherwise they will be 0_at....N_at
- doSequence- add sequences to the array design that is created. Faster to avoid if you can.
- readOnly- read only
- Returns:
- array design
 
 - 
getTestPersistentArrayDesignprotected ubic.gemma.model.expression.arrayDesign.ArrayDesign getTestPersistentArrayDesign(List<String> probeNames, ubic.gemma.model.genome.Taxon taxon) Deprecated.Convenience method to provide an ArrayDesign that can be used to fill non-nullable associations in test objects.- Parameters:
- probeNames- will be assigned to each CompositeSequence in the ArrayDesign
- taxon- of the ArrayDesign
- Returns:
- ArrayDesign with no TechnologyType
 
 - 
getTestPersistentBasicExpressionExperimentprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentBasicExpressionExperiment() Deprecated.- Returns:
- EE with no data; just bioassays, biomaterials, quantitation types and (minimal) array designs.
 
 - 
getTestPersistentBasicExpressionExperimentprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentBasicExpressionExperiment(ubic.gemma.model.expression.arrayDesign.ArrayDesign arrayDesign) Deprecated.- Parameters:
- arrayDesign- platform
- Returns:
- EE with no data; just bioassays, biomaterials, quantitation types and provided arrayDesign
 
 - 
getTestPersistentBibliographicReferenceprotected ubic.gemma.model.common.description.BibliographicReference getTestPersistentBibliographicReference(String accession) Deprecated.
 - 
getTestPersistentBioAssayprotected ubic.gemma.model.expression.bioAssay.BioAssay getTestPersistentBioAssay(ubic.gemma.model.expression.arrayDesign.ArrayDesign ad) Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects.- Parameters:
- ad- paltform
- Returns:
- bio assay
 
 - 
getTestPersistentBioAssayprotected ubic.gemma.model.expression.bioAssay.BioAssay getTestPersistentBioAssay(ubic.gemma.model.expression.arrayDesign.ArrayDesign ad, ubic.gemma.model.expression.biomaterial.BioMaterial bm)Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects.- Parameters:
- ad- platform
- bm- material
- Returns:
- bio assay
 
 - 
getTestPersistentBioMaterialprotected ubic.gemma.model.expression.biomaterial.BioMaterial getTestPersistentBioMaterial() Deprecated.
 - 
getTestPersistentBioMaterialprotected ubic.gemma.model.expression.biomaterial.BioMaterial getTestPersistentBioMaterial(ubic.gemma.model.genome.Taxon tax) Deprecated.
 - 
getTestPersistentBioSequenceprotected ubic.gemma.model.genome.biosequence.BioSequence getTestPersistentBioSequence() Deprecated.
 - 
getTestPersistentBioSequenceprotected ubic.gemma.model.genome.biosequence.BioSequence getTestPersistentBioSequence(ubic.gemma.model.genome.Taxon t) Deprecated.
 - 
getTestNonPersistentBioSequenceprotected ubic.gemma.model.genome.biosequence.BioSequence getTestNonPersistentBioSequence(ubic.gemma.model.genome.Taxon t) Deprecated.
 - 
getTestPersistentBlatResultprotected ubic.gemma.model.genome.sequenceAnalysis.BlatResult getTestPersistentBlatResult(ubic.gemma.model.genome.biosequence.BioSequence querySequence, ubic.gemma.model.genome.Taxon taxon)Deprecated.
 - 
getTestPersistentBlatResultprotected ubic.gemma.model.genome.sequenceAnalysis.BlatResult getTestPersistentBlatResult(ubic.gemma.model.genome.biosequence.BioSequence querySequence) Deprecated.
 - 
getTestPersistentCompleteExpressionExperimentprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentCompleteExpressionExperiment(boolean readOnly) Deprecated.Convenience method to get a (fairly) complete randomly generated persisted expression experiment.- Parameters:
- readOnly- If the test only needs to read, a new data set might not be created.
- Returns:
- EE
 
 - 
getTestPersistentCompleteExpressionExperimentWithSequencesprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentCompleteExpressionExperimentWithSequences() Deprecated.Convenience method to get a (fairly) complete randomly generated persisted expression experiment.- Returns:
- EE
 
 - 
getNewTestPersistentCompleteExpressionExperimentprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getNewTestPersistentCompleteExpressionExperiment() Deprecated.
 - 
getTestPersistentCompleteExpressionExperimentWithSequencesprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentCompleteExpressionExperimentWithSequences(ubic.gemma.model.expression.experiment.ExpressionExperiment prototype) Deprecated.- Parameters:
- prototype- used to choose the platform
- Returns:
- EE
 
 - 
getTestPersistentContactprotected ubic.gemma.model.common.auditAndSecurity.Contact getTestPersistentContact() Deprecated.Convenience method to provide a Contact that can be used to fill non-nullable associations in test objects.- Returns:
- Contact
 
 - 
getTestPersistentDatabaseEntryprotected ubic.gemma.model.common.description.DatabaseEntry getTestPersistentDatabaseEntry() Deprecated.Get a database entry from a fictitious database.- Returns:
- Db entry
 
 - 
getTestPersistentDatabaseEntryprotected ubic.gemma.model.common.description.DatabaseEntry getTestPersistentDatabaseEntry(ubic.gemma.model.common.description.ExternalDatabase ed) Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects. The accession and ExternalDatabase name are set to random strings.- Parameters:
- ed- external Db
- Returns:
- Db entry
 
 - 
getTestPersistentDatabaseEntryprotected ubic.gemma.model.common.description.DatabaseEntry getTestPersistentDatabaseEntry(String ed) Deprecated.
 - 
getTestPersistentDatabaseEntryprotected ubic.gemma.model.common.description.DatabaseEntry getTestPersistentDatabaseEntry(String accession, ubic.gemma.model.common.description.ExternalDatabase ed) Deprecated.Convenience method to provide a DatabaseEntry that can be used to fill non-nullable associations in test objects. The accession and ExternalDatabase name are set to random strings.- Parameters:
- accession- accession
- ed- database
- Returns:
- Db entry
 
 - 
getTestPersistentDatabaseEntryprotected ubic.gemma.model.common.description.DatabaseEntry getTestPersistentDatabaseEntry(String accession, String ed) Deprecated.
 - 
getTestPersistentExpressionExperimentprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentExpressionExperiment() Deprecated.Convenience method to provide an ExpressionExperiment that can be used to fill non-nullable associations in test objects. This implementation does NOT fill in associations of the created object.- Returns:
- EE
 
 - 
getTestPersistentExpressionExperimentprotected ubic.gemma.model.expression.experiment.ExpressionExperiment getTestPersistentExpressionExperiment(ubic.gemma.model.genome.Taxon taxon) Deprecated.Convenience method to provide an ExpressionExperiment that can be used to fill non-nullable associations in test objects. This implementation does NOT fill in associations of the created object except for the creation of persistent BioMaterials and BioAssays so that database taxon lookups for this experiment will work.- Parameters:
- taxon- taxon
- Returns:
- EE
 
 - 
getTestPersistentGeneProductprotected ubic.gemma.model.genome.gene.GeneProduct getTestPersistentGeneProduct(ubic.gemma.model.genome.Gene gene) Deprecated.
 - 
getTestPersistentQuantitationTypeprotected ubic.gemma.model.common.quantitationtype.QuantitationType getTestPersistentQuantitationType() Deprecated.Convenience method to provide a QuantitationType that can be used to fill non-nullable associations in test objects.- Returns:
- QT
 
 - 
resetTestCollectionSizeprotected void resetTestCollectionSize() Deprecated.Restore to default.
 - 
runAsAdminprotected void runAsAdmin() Deprecated.- See Also:
- TestAuthenticationUtils.runAsAdmin()
 
 - 
runAsAgentprotected void runAsAgent() Deprecated.- See Also:
- TestAuthenticationUtils.runAsAgent()
 
 - 
runAsUserprotected void runAsUser(String userName) Deprecated.
 - 
runAsUserprotected void runAsUser(String userName, boolean createIfMissing) Deprecated.
 - 
runAsAnonymousprotected void runAsAnonymous() Deprecated.- See Also:
- TestAuthenticationUtils.runAsAnonymous()
 
 - 
setTestCollectionSizeprotected void setTestCollectionSize(int size) Deprecated.Change the number of elements created in collections (basically controls the size of test data sets). This need not be called unless the test needs larger data sets. Call resetTestCollectionSize after you are done.- Parameters:
- size- size
 
 
- 
 
-